/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sessionBeans;

import entityBeans.ReplyEntity;
import entityBeans.SubjectEntity;
import entityBeans.ThreadEntity;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author h07029
 */
@Local
public interface ThreadSessionBeanLocal {
    java.util.List<entityBeans.ReplyEntity> getMyReply(ThreadEntity myThreadEntity);
    List<ThreadEntity> getThreadBySubject(SubjectEntity mySubject);
    List<ReplyEntity> getMyReplies(ThreadEntity currentThread);
    ThreadEntity addThread(SubjectEntity mySubject,ThreadEntity newThread);
    ReplyEntity addNewPost(ThreadEntity myConversation, String userName, String textValue);
    ReplyEntity addReply(ThreadEntity newThread,ReplyEntity myReply);
    ThreadEntity getThreadByUuid(String myUuid);
}
